home *** CD-ROM | disk | FTP | other *** search
/ Interplay's Learn to Program Basic (Review Copy) / Learn to Program Basic Review Copy (Interplay)(June 23, 1998).ISO / pc / ltpbasic / refxmpl / inkey$.bas < prev    next >
BASIC Source File  |  1998-04-07  |  124b  |  8 lines

  1. CLS
  2. Print "Hit any key on the keyboard."
  3. While TRUE
  4. A$ = Inkey$
  5. If A$ <> "" Then Print "You pressed the ";A$; " key!"
  6. Wend
  7.  
  8.